package com.solution.admin.promotion.entity;

import java.math.BigDecimal;

import com.solution.common.entity.BaseEntity;

/**
 * 活动规则-满减信息实体类
 * 
 * @author xu_cc
 * @date 2017-09-27 23:26:34
 */
public class PromotionRuleReduceEntity extends BaseEntity {
    private static final long serialVersionUID = -3926291988306842687L;

    /**
     * 活动ID
     */
    private Long promotionId;

    /**
     * 订单金额
     */
    private BigDecimal orderMoney;

    /**
     * 减免金额
     */
    private BigDecimal reduceMoney;

    /**
     * 上不封顶（1=是，循环计算，0=有限制）
     */
    private int isLimit;

    /**
     * 活动ID
     */
    public Long getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Long promotionId) {
        this.promotionId = promotionId;
    }

    /**
     * 订单金额
     */
    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
    }

    /**
     * 减免金额
     */
    public BigDecimal getReduceMoney() {
        return reduceMoney;
    }

    public void setReduceMoney(BigDecimal reduceMoney) {
        this.reduceMoney = reduceMoney;
    }

    /**
     * 上不封顶（1=是，循环计算，0=有限制）
     */
    public int getIsLimit() {
        return isLimit;
    }

    public void setIsLimit(int isLimit) {
        this.isLimit = isLimit;
    }
}
